package com.iocup.keybastion.sso.config;

import lombok.Getter;
import lombok.Setter;

/**
 * @author xyjxust
 * @create 2023/1/17 14:23
 **/
@Setter
@Getter
public class SsoApiProperties {
    /** SSO-Server端：授权地址 */
    public String ssoAuth = "/sso/auth";

    /** SSO-Server端/SSO-Client端： 登录接口 */
    public String ssoLogin = "/sso/login";

    /** SSO-Server端： 获取跳转url */
    public String ssoGetRedirect = "/sso/getRedirectUrl";

    /** SSO-Server端：校验ticket 获取账号相关信息 */
    public String ssoCheckTicket = "/sso/checkTicket";

    /** SSO-Server端：获取userinfo  */
    public String ssoUserinfo = "/sso/userinfo";

    /** SSO-Server端/SSO-Client端：单点注销地址 */
    public String ssoLogout = "/sso/logout";

    /** SSO-Client端：服务端登录完成后的客户端回调地址 */
    public String ssoCallback = "/sso/callback";

    /** SSO-Client端：通过code进行登录 */
    public String ssoCodeLogin = "/sso/loginByCode";
}
